home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows1 / boss_sup.zip / WINBOSS.FNT < prev    next >
Text File  |  1992-03-05  |  15KB  |  345 lines

  1. /* Prototype declarations for windows.c */
  2.  
  3. void wn_windows(void);
  4. /* Prototype declarations for wn_print.c */
  5.  
  6. int wn_printf(struct wcb *wn, char *cs,...);
  7. /* Prototype declarations for wn_activ.c */
  8.  
  9. int wn_activate(struct wcb *wn);
  10. int wns_push(int imgix);
  11. int wns_pop(int imgix);
  12. int wns_alloc(unsigned size, unsigned *seg, unsigned *off, unsigned *ptr);
  13. int wns_free(unsigned seg, unsigned off);
  14. int wns_image(struct wcb *wn, int imgix, int flag);
  15. void wns_blt(int row, int col, int width, int height, unsigned tseg, 
  16.              unsigned toff, int imgix, int flag);
  17. /* Prototype declarations for wn_bios.c */
  18.  
  19. unsigned _getca(int page, int row, int col);
  20. void _putca(int page, unsigned atch, int row, int col);
  21. void _absloc(int page, int row, int col);
  22. void v_wca(int page, int ch, int at, int count);
  23. void v_wtty(int ch);
  24. void v_cls(int at);
  25. void v_spage(int page);
  26. void v_smode(int mode);
  27. void v_locate(int page, int row, int col);
  28. void v_hidec(void);
  29. void v_sapu(int nl, int rul, int cul, int rlr, int clr, int at);
  30. void v_sapd(int nl, int rul, int cul, int rlr, int clr, int at);
  31. void v_rcpos(int page, int *row, int *col);
  32. void v_rcvs(int *page, int *mode, int *cols);
  33. int v_getch(void);
  34. void v_kflush(void);
  35. void v_sctype(int type, int sline, int eline);
  36. void v_gctype(int page, int *sline, int *eline);
  37. int v_setatr(int bg, int fg, int blink, int bold);
  38. int v_setrev(int atrib);
  39. /* Prototype declarations for wn_boxse.c */
  40.  
  41. void wn_boxset(int ul, int ur, int tb, int sd, int ll, int lr);
  42. /* Prototype declarations for wn_close.c */
  43.  
  44. int wn_close(struct wcb *wn);
  45. /* Prototype declarations for wn_clr.c */
  46.  
  47. int wn_clr(struct wcb *wn);
  48. /* Prototype declarations for wn_clrfn.c */
  49.  
  50. int wn_clrrow(struct wcb *wn, int row);
  51. int wn_clreol(struct wcb *wn, int r, int c);
  52. int wn_clreow(struct wcb *wn, int r, int c);
  53. /* Prototype declarations for wn_color.c */
  54.  
  55. void wn_color(struct wcb *wn, int atrib, int batrib);
  56. /* Prototype declarations for wn_dbord.c */
  57.  
  58. int wn_dborder(struct wcb *wn, int ul, int ur, int tb, int sd, int ll, int lr);
  59. void wn_border(int style);
  60. int wn_drawborder(struct wcb *w, int style);
  61. /* Prototype declarations for wn_delro.c */
  62.  
  63. int wn_delrow(struct wcb *wn, int row);
  64. /* Prototype declarations for wn_dma.c */
  65.  
  66. void wn_dma(int flag);
  67. /* Prototype declarations for wn_dmode.c */
  68.  
  69. void wn_dmode(int flag);
  70. /* Prototype declarations for wn_dtext.c */
  71.  
  72. int wn_dtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  73.              int col, char *prmpt);
  74. /* Prototype declarations for wn_fixcs.c */
  75.  
  76. int wn_fixcsr(struct wcb *wn);
  77. /* Prototype declarations for wn_frmcl.c */
  78.  
  79. int wn_frmcls(struct wi_scb **frm);
  80. /* Prototype declarations for wn_frmge.c */
  81.  
  82. int wn_frmget(struct wi_scb **frm);
  83. /* Prototype declarations for wn_frmop.c */
  84.  
  85. struct wi_scb **wn_frmopn(int nfields);
  86. /* Prototype declarations for wn_gbool.c */
  87.  
  88. int wn_gbool(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  89.              int col, char *prmpt, unsigned atrib, int fill, int *value, 
  90.              char *ubuff, char *hlpmsg, char *errmsg);
  91. /* Prototype declarations for wn_gdate.c */
  92.  
  93. int wn_gdate(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  94.              int col, char *prmpt, unsigned atrib, int fill, int *month, 
  95.              int *day, int *year, char *ubuff, char *hlpmsg, char *errmsg);
  96. /* Prototype declarations for wn_gdoub.c */
  97.  
  98. int wn_gdouble(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  99.                int col, char *prmpt, unsigned atrib, int fill, double *value, 
  100.                int fwidth, int ndec, double low, double high, char *ubuff, 
  101.                char *hlpmsg, char *errmsg);
  102. /* Prototype declarations for wn_gets.c */
  103.  
  104. char *wn_gets(struct wcb *wn, char *s, int va, char *cl);
  105. /* Prototype declarations for wn_gfloa.c */
  106.  
  107. int wn_gfloat(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  108.               int col, char *prmpt, unsigned atrib, int fill, float *value, 
  109.               int fwidth, int ndec, double , double , char *ubuff, 
  110.               char *hlpmsg, char *errmsg);
  111. /* Prototype declarations for wn_gint.c */
  112.  
  113. int wn_gint(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  114.             int col, char *prmpt, unsigned atrib, int fill, int *value, 
  115.             int fwidth, int low, int high, char *ubuff, char *hlpmsg, 
  116.             char *errmsg);
  117. /* Prototype declarations for wn_glong.c */
  118.  
  119. int wn_glong(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  120.              int col, char *prmpt, unsigned atrib, int fill, long *value, 
  121.              int fwidth, long low, long high, char *ubuff, char *hlpmsg, 
  122.              char *errmsg);
  123. /* Prototype declarations for wn_gphon.c */
  124.  
  125. int wn_gphone(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  126.               int col, char *prmpt, unsigned atrib, int fill, int *acode, 
  127.               int *nnx, int *num, char *ubuff, char *hlpmsg, char *errmsg);
  128. /* Prototype declarations for wn_gpwor.c */
  129.  
  130. int wn_gpword(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  131.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  132.               char *ubuff, char *hlpmsg, char *errmsg);
  133. /* Prototype declarations for wn_gtext.c */
  134.  
  135. int wns_gtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  136.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  137.               char *ubuff, char *hlpmsg, char *errmsg);
  138. int wn_gtext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  139.              int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  140.              char *ubuff, char *hlpmsg, char *errmsg);
  141. int wn_gutext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  142.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  143.               char *ubuff, char *hlpmsg, char *errmsg);
  144. int wn_gltext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  145.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  146.               char *ubuff, char *hlpmsg, char *errmsg);
  147. int wn_gatext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  148.               int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  149.               char *ubuff, char *hlpmsg, char *errmsg);
  150. int wn_gmltext(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  151.                int col, char *prmpt, unsigned atrib, int fill, int fwidth, 
  152.                int nl, char **ubuff, char *hlpmsg, char *errmsg);
  153. /* Prototype declarations for wn_gtime.c */
  154.  
  155. int wn_gtime(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  156.              int col, char *prmpt, unsigned atrib, int fill, int *hours, 
  157.              int *mins, int *secs, char *ubuff, char *hlpmsg, char *errmsg);
  158. /* Prototype declarations for wn_guint.c */
  159.  
  160. int wn_guint(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  161.              int col, char *prmpt, unsigned atrib, int fill, unsigned *value, 
  162.              int fwidth, unsigned low, unsigned high, char *ubuff, 
  163.              char *hlpmsg, char *errmsg);
  164. /* Prototype declarations for wn_gulon.c */
  165.  
  166. int wn_gulong(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  167.               int col, char *prmpt, unsigned atrib, int fill, 
  168.               unsigned long *value, int fwidth, unsigned long low, 
  169.               unsigned long high, char *ubuff, char *hlpmsg, char *errmsg);
  170. /* Prototype declarations for wn_help.c */
  171.  
  172. void showpage(long offset);
  173. int filbuf(long offset);
  174. int wn_hlinit(int row, int col, int width, int height, unsigned atrib, 
  175.               unsigned batrib, char *help_file_name);
  176. int wn_help(char *subject);
  177. /* Prototype declarations for wn_iemsg.c */
  178.  
  179. int wn_iemsg(char *msg);
  180. /* Prototype declarations for wn_ihmsg.c */
  181.  
  182. int wn_ihmsg(char *msg);
  183. /* Prototype declarations for wn_init.c */
  184.  
  185. int wn_psinit(int rows, int cols);
  186. int wn_init(void);
  187. int wn_exit(void);
  188. void wn_shkey(unsigned scan_code);
  189. /* Prototype declarations for wn_input.c */
  190.  
  191. int wn_input(struct wcb *wn, int row, int col, char *prmpt, char *mask, int fill, 
  192.              unsigned atrib, char *ubuff, char *hlpmsg);
  193. /* Prototype declarations for wn_insro.c */
  194.  
  195. int wn_insrow(struct wcb *wn, int row);
  196. /* Prototype declarations for wn_locat.c */
  197.  
  198. int wn_locate(struct wcb *wn, int row, int col);
  199. /* Prototype declarations for wn_mouse.c */
  200.  
  201. void mo_die(char *msg);
  202. void wns_mo_check(struct mcb *mptr, char *msg);
  203. struct mcb *mo_reset(void);
  204. void mo_show(struct mcb *m);
  205. void mo_hide(struct mcb *m);
  206. void mo_pos(struct mcb *m);
  207. void mo_move(struct mcb *m, int row, int col);
  208. void mo_pbinfo(struct mcb *m, int button);
  209. void mo_rbinfo(struct mcb *m, int button);
  210. void mo_clim(struct mcb *m, int cmin, int cmax);
  211. void mo_rlim(struct mcb *m, int rmin, int rmax);
  212. void mo_sgcursor(struct mcb *m, unsigned hhot, unsigned vhot, unsigned seg, 
  213.                  unsigned off);
  214. void mo_scursor(struct mcb *m, int type, int start, int stop);
  215. void mo_motion(struct mcb *m);
  216. void mo_task(struct mcb *m, unsigned mask, unsigned tseg, unsigned toff);
  217. void mo_lpon(struct mcb *m);
  218. void mo_lpoff(struct mcb *m);
  219. void mo_ratio(struct mcb *m, int ver, int hor);
  220. void mo_rcpos(struct mcb *mptr, int *status, int *row, int *col);
  221. void mo_locate(struct mcb *mptr, int row, int col);
  222. void mo_press(struct mcb *mptr, int button, int *status, int *nclik, int *row, 
  223.               int *col);
  224. void mo_release(struct mcb *mptr, int button, int *status, int *nclik, int *row, 
  225.                 int *col);
  226. void mo_reigon(struct mcb *mptr, int row, int col, int width, int height);
  227. void mo_setptr(struct mcb *mptr, unsigned tchar, unsigned atrib);
  228. void mo_wait(struct mcb *mptr);
  229. int mo_nbutt(struct mcb *mptr);
  230. void wns_mo_show(void);
  231. void wns_mo_hide(void);
  232. int v_getchm(void);
  233. /* Prototype declarations for wn_move.c */
  234.  
  235. struct wcb *wn_move(struct wcb *wn, int row, int col);
  236. /* Prototype declarations for wn_natri.c */
  237.  
  238. int wn_natrib(struct wcb *wn, int natr);
  239. /* Prototype declarations for wn_open.c */
  240.  
  241. struct wcb *wn_open(int page, int row, int col, int width, int height, int atrib, 
  242.                     int batrib);
  243. int wns_shfun(struct wcb *wn, int fun, unsigned attr);
  244. void wns_explode(struct wcb *wn);
  245. void wns_vbar(struct wcb *wn, int rul, int cul, int rlr, int clr, int atrib);
  246. unsigned long wns_gticks(void);
  247. void wns_stdiv(unsigned long div);
  248. /* Prototype declarations for wn_popup.c */
  249.  
  250. int wn_popup(int page, int row, int col, int width, int height, int atrib, 
  251.              int batrib, struct pmenu *mx, int cflag);
  252. struct wcb *wn_qpopup(int page, int row, int col, int width, int height, 
  253.                       int atrib, int batrib, struct pmenu *mx);
  254. /* Prototype declarations for wn_puts.c */
  255.  
  256. int wn_puts(struct wcb *wn, int row, int col, char *s);
  257. int wn_putsa(struct wcb *wn, int row, int col, char *s, unsigned atrib);
  258. int wn_putc(struct wcb *wn, int row, int col, int c);
  259. int wn_putca(struct wcb *wn, int row, int col, int c, unsigned a);
  260. unsigned wn_getca(struct wcb *wn, int row, int col);
  261. /* Prototype declarations for wn_resto.c */
  262.  
  263. int wn_restore(struct wcb *wn);
  264. /* Prototype declarations for wn_save.c */
  265.  
  266. struct wcb *wn_save(int page, int row, int col, int width, int height);
  267. /* Prototype declarations for wn_scrol.c */
  268.  
  269. void wn_scroll(struct wcb *wn, int method);
  270. /* Prototype declarations for wn_spawn.c */
  271.  
  272. int wn_spawnl(unsigned smode, char *path, char *a1);
  273. /* Prototype declarations for wn_stitl.c */
  274.  
  275. int wn_stitle(struct wcb *wn, char *title, int location);
  276. int wn_stitla(struct wcb *wn, char *title, int atr, int location);
  277. /* Prototype declarations for wn_strin.c */
  278.  
  279. char *wn_sleftj(char *s);
  280. char *wn_srightj(char *s);
  281. char *wn_scenter(char *s, char *t, int w);
  282. char *wn_sdelspc(char *s, int code);
  283. int wn_strndx(char *s, char *t, int exp);
  284. int wn_cndx(char *s, int c, int exp);
  285. /* Prototype declarations for wn_sup.c */
  286.  
  287. unsigned  wns_mtype(void);
  288. void wns_delc(struct wcb *wn);
  289. void wns_wtext(struct wcb *wn, char *string);
  290. void wns_movscr(int srow, int scol, int w, int h, int drow, int dcol, int mode, 
  291.                 int atrib);
  292. void wns_savres(int page, int row, int col, int width, int height, char *array, 
  293.                 int flag);
  294. void wns_fixc(int *atrib);
  295. void wns_drow(int page, int c, int atrib, int row, int col, int count);
  296. void wns_dput(struct wcb *wn, int page, int c_atrib, int row, int col);
  297. void wns_err(struct wcb *wn, char *msg);
  298. void wns_ierr(char *msg);
  299. void wns_sapu(int nl, int r1, int c1, int r2, int c2, int atrib);
  300. void wns_sapd(int nl, int r1, int c1, int r2, int c2, int atrib);
  301. void wns_von(void);
  302. void wns_voff(void);
  303. void wns_ssiz(int row, int col);
  304. int wns_ega(int *memsize, int *mode, unsigned *features, unsigned *switches);
  305. unsigned wns_getca(int page, int row, int col);
  306. void wns_putca(int page, unsigned atch, int row, int col);
  307. /* Prototype declarations for wn_sync.c */
  308.  
  309. void wn_sync(struct wcb *wn, int flag);
  310. /* Prototype declarations for wn_title.c */
  311.  
  312. int wn_title(struct wcb *wn, char *title);
  313. int wn_titla(struct wcb *wn, char *title, int atr);
  314. /* Prototype declarations for wn_wrap.c */
  315.  
  316. void wn_wrap(struct wcb *wn, int flag);
  317. /* Prototype declarations for wn_gssn.c */
  318.  
  319. int wn_gssn(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  320.             int col, char *prmpt, unsigned atrib, int fill, int *n1, int *n2, 
  321.             int *n3, char *ubuff, char *hlpmsg, char *errmsg);
  322. /* Prototype declarations for wn_gedat.c */
  323.  
  324. int wn_gedate(int fun, struct wi_scb **frm, int fld, struct wcb *wn, int row, 
  325.               int col, char *prmpt, unsigned atrib, int fill, int *day, 
  326.               int *month, int *year, char *ubuff, char *hlpmsg, char *errmsg);
  327.  
  328. /* Prototype declarations for wn_pdown.c */
  329.  
  330. int wn_pdopen(int page, int row, int col, int width, int height, int watr, 
  331.               int batr, int hkatr, struct pdmenu *mx, int aflag);
  332. void wn_pdclose(struct pdmenu *mx);
  333. int wn_pdupdate(struct pdmenu *mx, int i, int style);
  334. int wn_pdsettog(struct pdmenu *mx, int i);
  335. int wn_pdgettog(struct pdmenu *mx, int i);
  336. void wn_pdactive(struct pdmenu *mx, int i, int action);
  337. int wn_pdtype(struct pdmenu *mx, int i, int newtype, int action);
  338. int wn_pdget(struct pdmenu *mx);
  339.  
  340.  
  341. void cdecl _vidblt(unsigned, unsigned, unsigned, unsigned, int);
  342. int  cdecl v_kstat(void);
  343. void cdecl xferdata(unsigned, unsigned, unsigned, unsigned, int);
  344. void cdecl v_border(int);
  345.